import csv
import pymysql
import requests
from bs4 import BeautifulSoup
from config import *
db = pymysql.connect(host=HOST, user=USER, passwd=PASSWORD, db=DB, charset=CHARSET)
cursor = db.cursor()

# f = csv.reader(open('tar_gz\\1929\\03864099999.csv','r'))
# for i in f:
#     if i[0] == "STATION":
#         continue
#     sql = 'insert into data values(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'
#     print(i)
#     cursor.execute(sql,list(i[n] for n in range(28)))
#     db.commit()

print('123')